<?php
$videoSize = count($listVideo);
if($videoSize > 0){
?>
<div id="content_main">
    <ul class="video-list">
        <?php
        for($i=0; $i<$videoSize; $i++){
            echo "<li class=\"video-item\">"
                . "<a onclick=\"FE.showVideo('" . $listVideo[$i]->link . "');\">"
                . "<img src=\"" . $listVideo[$i]->small_image . "\" border=\"0\">"
                . "</a>"
                . "<a onclick=\"FE.showVideo('" . $listVideo[$i]->link . "');\">"
                . "<b>" . $listVideo[$i]->title . "</b>"
                . "</a></li>";
        }
        ?>
        <div class="clear_float"></div>            
    </ul>
    <div class="paging video-paging">
        <?php echo $pagingVideo; ?>
    </div>
</div>
<?php
}
else{
?>
<div class="post_item" style="text-align:center">
    Không có video nào được tìm thấy
</div>
<?php
}
?>